package com.consumer;

import java.awt.Container;

/**
 * 
 * @author Administrator
 *
 */
public class Test
{
	public static void main(String[] args)
	{
		
		Buffer buffer = new Buffer();
		
		ProductionCompuder pCompuder = new ProductionCompuder(buffer);
		Thread t1 = new Thread(pCompuder);
		t1.start();
		
		SaleComputer saleComputer = new SaleComputer(buffer);
		Thread t2 = new Thread(saleComputer);
		t2.start();
		
	}
	
}
